<template>
	<view class="list">
		<exhibitionCard :pageType="pageType" :ticket="ticket" :detClick="detClick" :state="state" v-for="(item, index) in list" class="exhibitionCard" :data="item"></exhibitionCard>
	</view>
</template>

<script>
	import exhibitionCard from '@/components/wbz/exhibitionCard/exhibitionCard.vue';
	export default {
		name: 'list',
		components: {
			exhibitionCard,
		},
		props: {
			list: {
				type: Array,
				default: () => [],
			},
			state: {
				type: Boolean,
				default: false,
			},
			detClick: {
				type: Boolean,
				default: false,
			},
			ticket: {
				type: Boolean,
				default: false,
			},
			pageType:{
				type: String,
				default: '2',
			}
		},

		data() {
			return {};
		},
		methods: {},
	};
</script>

<style lang="scss" scoped>
	.list {
		.exhibitionCard {
			margin: $submargin-width auto;
		}
	}
</style>
